package com.tencet.dao;

import com.tencet.entity.Earn;

import java.util.List;

public interface EarnDao {
    /**
     * 查询我的理财产品
     * @param earn
     * @return
     */
    List earnList(Earn earn);

    /**
     * 购买插入理财产品
     *
     * @param earn
     * @return
     */
    int  addList(Earn earn);


}

